/*
 * LogEx a Java library for extracting log file data
 * Copyright 2012 LogEx Team.
 *
 * This program is free software. You can distribute or modify it under the 
 * terms of the GNU Lesser General Public License version 3.0 as published by  
 * the Free Software Foundation.
 *
 * This program is distributed AS IS and WITHOUT WARRANTY. OF ANY KIND,
 * INCLUDING MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
 * See the GNU Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public License
 * along with this program; if not, contact the Free Software Foundation, Inc.,
 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 */
package org.logex.obj;

import java.util.ArrayList;
import java.util.List;
import java.util.SortedMap;

/**
 * @author Lohitha Chiranjeewa
 */
public class LinePattern {
	
	private List<Object> siblingPatterns;
	private ArrayList<SortedMap<String, Object>> mainList;
	
	public LinePattern(List<Object> siblingPatterns,ArrayList<SortedMap<String, Object>> mainList){
		this.siblingPatterns = siblingPatterns;
		this.mainList = mainList;
	}
	
	/**
	 * @return mainList Main patterns list
	 */
	public ArrayList<SortedMap<String, Object>> getMainList() {
		return mainList;
	}
	
	/**
	 * @return siblingPatterns The list of possible affiliated patterns
	 */
	public List<Object> getSiblingPatterns() {
		return siblingPatterns;
	}
	
}
